import { file_url, spaceid } from '../../atom/config';
export default `{{~it:v:i}}
<div style="margin-bottom:20px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;"><span class="color-red vertical-a-m">*</span> 用户名：</span><input type="text" value="{{=v.usercode}}" class="display-ib vertical-a-t border-1 radius-4 ht30" style="width:230px;padding:0 5px;" id="usercode" disabled />
</div>
<div style="margin-bottom:20px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;"><span class="color-red vertical-a-m">*</span> 姓名：</span><input type="text" value="{{=v.user_name||''}}" class="display-ib vertical-a-t border-1 radius-4 ht30" style="width:230px;padding:0 5px;" id="user_name" />
</div>
<div style="margin-bottom:20px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;">名称拼写：</span><input type="text" value="{{=v.name_spell||''}}" class="display-ib vertical-a-t border-1 radius-4 ht30" style="width:230px;padding:0 5px;" id="name_spell" />
</div>
<div style="margin-bottom:20px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;">是否禁用：</span><select class="display-ib vertical-a-t border-1 radius-4 ht30" style="width:230px;padding:0 5px;" id="is_disabled">
		<option {{?v.is_disabled==false}} selected {{?}} value="false">否</option>
		<option {{?v.is_disabled==true}} selected {{?}}  value="true">是</option>
	</select>
</div>
<div style="margin-bottom:20px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;">邮箱：</span><input type="text" value="{{=v.email||''}}" class="display-ib vertical-a-t border-1 radius-4 ht30" style="width:230px;padding:0 5px;" id="email" />
</div>
<div style="margin-bottom:20px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;">电话：</span><input type="text" value="{{=v.phone||''}}" class="display-ib vertical-a-t border-1 radius-4 ht30" style="width:230px;padding:0 5px;" id="phone" />
</div>
<div style="margin-bottom:5px;">
	<span class="display-ib vertical-a-t l-ht30 color-9 text-r" style="width:70px;">头像：</span><div class="display-ib vertical-a-t pos-r bg-themef ht30 l-ht30 cursor-p radius-4 border-1" style="padding:0 20px;"><input name="head" type="file" accept="image/*" value="浏览" data-feidao-actions="change:eu-004" class="ht30 cursor-p pos-a pos-r0 pos-t0" style="width:100%;font-size:0;opacity:0;filter:alpha(opacity=0);">上传图片</div>
</div>
<div style="margin:0 0 25px 70px;">
	{{?v.avatar_path}}
	<img data-feidao-img class="border-1" style="height:100%;width:100%" src="${file_url}getfile?productid=${spaceid}&id={{=v.avatar_path}}" />
	{{??}}
	<img data-feidao-img class="border-1">
	{{?}}
</div>
{{~}}
<div class="text-c">
	<input type="button" value="保存" class="btn" style="margin-right:50px;" data-feidao-actions="click:eu-002" /><input type="button" value="取消" class="cbtn" data-feidao-actions="click:eu-001" />
</div>`;
